package com.twilight.SofaStream;

import com.twilight.SofaStream.IDownloadServiceCallback;

interface IDownloadService {
    void registerCallback(IDownloadServiceCallback cb); 
    void unregisterCallback(IDownloadServiceCallback cb); 
	boolean download(in long id);
	boolean stop_download(in long id);
	boolean delete_download(in long id);
	String getError();
	long currentDownloadId();
	void clearDownloads();
}
